package com.guosifan.repository;


import com.guosifan.entity.Menu;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MenuRepository {

    public List<Menu> findAll(int start,int row);
    public int count();
    public Menu findById(int id);
    public int save(Menu menu);
    public void update(Menu menu);
    public int deleteById(int id);


}
